package spider;


//import java.sql.Connection;
import java.sql.SQLException;
import java.sql.DriverManager;

import oracle.jdbc.OracleDriver;

import java.util.Properties;

public class Test {

	/**
	 * @param args
	 * @throws SQLException
	 */

	public static void main(String args[]) throws SQLException {
		// // SitesDao dao = new SitesDao();
		// // Site s = dao.getNextSite((byte)1);
		// WordsDao wrdDao = new WordsDao();
		// wrdDao.getAllWord();
		// Load the database details into the variables.
		new Test().doit();

	}

	public void doit() throws SQLException {
//		String url = "jdbc:oracle:thin:@192.168.11.28:1521:YULUN";
		String user = "opinion";
		String password = "000000";
		// Create the properties object that holds all database details
		Properties props = new Properties();
		props.put("user", user);
		props.put("password", password);
		props.put("SetBigStringTryClob", "true");
		// Load the Oracle JDBC driver class.
		DriverManager.registerDriver(new OracleDriver());
		// Get the database connection
//		Connection conn = DriverManager.getConnection(url, props);
		System.out.println(11);
		return;
	}



}
